//我的下级
export const getTeam = `
query($driver_id:Int,$page:Int){ 
  getTeam(driver_id:$driver_id,page:$page){
  total
	lastpage
	list{
		id
    nickname
    avatar
    profit
    mobile
	}
  }
}`;
//我的收益（顶部数据）
export const getBonusData = `
query($driver_id: Int) {
    getBonusData(driver_id: $driver_id) {
        id
        driver_id
        freeze
        withdrawal
        count
  }
}`;
//我的收益
export const getBonusLog = `
query($driver_id:Int,$page:Int,$type:String){ 
    getBonusLog(driver_id:$driver_id,page:$page,type:$type){
    total
	lastpage
	list{
		id
        type
        driver_id
        driver_name
        after
        money
        memo
        createtime
	}
  }
}`;
//提现记录
export const getWithdrawalLog = `
query($driver_id:Int,$page:Int){ 
    getWithdrawalLog(driver_id:$driver_id,page:$page){
    total
	lastpage
	list{
		id
        order_sn
        driver_id
        driver_name
        money
        createtime
        status_text
	}
  }
}`;
//邀请新人二维码
export const getYxQrcode = `
query($driver_id: Int) {
  getYxQrcode(driver_id: $driver_id) {
    image
  }
}`;
//获取获奖记录
export const getRandMobile = `
query{
  getRandMobile{
    mobile
    time
  }
}`;
//获得扫码记录
export const getJiang = `
query($zhitui_id: Int,$key:String) {
  getJiang(zhitui_id: $zhitui_id,key:$key) {
    use
    new
    zhitui
  }
}`;